import { BrowserModule } from "@angular/platform-browser";
import { NgModule } from "@angular/core";

import { AppRoutingModule } from "./app-routing.module";
import { AppComponent } from "./app.component";
import { HttpClientModule } from "@angular/common/http";
import { CommonModule } from "@angular/common";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { SignInService } from "./blog/user/sign-in/sign-in.service";
import { SignUpService } from "./blog/user/sign-up/sign-up.service";
import { SignUpComponent } from "./blog/user/sign-up/sign-up.component";
import { EqualValidatorDirective } from "./blog/user/sign-up/equal-validator.directive";

@NgModule({
  declarations: [AppComponent, SignUpComponent, EqualValidatorDirective],
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    BrowserModule,
    AppRoutingModule,
    HttpClientModule
  ],
  providers: [SignInService, SignUpService],
  bootstrap: [AppComponent]
})
export class AppModule {}
